import http from '@/api/http'

export const deliveryPage = (params) => http.post('/sale/delivery/page', null, { params })
export const deliveryCreate = (data) => http.post('/sale/delivery', data)
export const deliveryDetail = (id) => http.get(`/sale/delivery/${id}`)

export const deliveryDetailPage = (data) => http.post('/sale/delivery-detail/page', data)
export const deliveryDetailCreate = (data) => http.post('/sale/delivery-detail', data)
export const deliveryDetailInfo = (id) => http.get(`/sale/delivery-detail/${id}`)


